<?php
	date_default_timezone_set("America/Chicago");
	try 
	{
		/* EDIT THIS TO SUIT YOUR SERVER */
		$conn_str = 'mysql:host='.$settings['server']['host'];
		$conn_str .= ';dbname='.$settings['server']['database'];		

		$db = new PDO("$conn_str",$settings['server']['db_user'],$settings['server']['db_pass']);
		$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

	} catch(PDOException $e) {

		echo $e->getMessage().'<br/>';// comment this out on release
		die('Having techical difficulties.Please check back later');

	}
	
?>